<?php

function smarty_function_fancybox($params, &$smarty)
{
    Yii::app()->controller->widget('application.extensions.fancybox.EFancyBox', $params);
}
?>
